package org.myname.example2;

import java.io.IOException;
import java.io.StringWriter;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;

public class HelloBody extends SimpleTagSupport{
	
	public HelloBody(){}

	@Override
	public void doTag() throws JspException, IOException {
		
		StringWriter sw =new StringWriter();
		getJspBody().invoke(sw);
		getJspContext().getOut().println(sw.toString());
	}

}
